<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">
<!--
.Estilo3 {font-size: x-large; font-family: "Times New Roman", Times, serif; }
-->
</style>
</head>

<body>
<table width="538" border="0" align="right">
        
        <tr>
          <td><form id="form1" name="form1" method="post" action="<?php echo base_url();?>TravelAgencyController/addNewUser/<?php echo $id_agency;?>/<?php echo $id_user;?>/<?php echo $username;?>/3">
            <table width="100%" border="0">
              <tr>
                <td colspan="2" bgcolor="#FFFFFF"><div align="center" class="Estilo3"><strong> Datos Personales del nuevo Usuario</strong></div></td>
              </tr>
              <tr>
                <td colspan="2">&nbsp;</td>
              </tr>
              <tr>
                <td width="32%"><div align="right"><strong> Nombre :</strong></div></td>
                <td width="68%"><table width="100%" border="0">
                  <tr>
                    <td width="47%"><label>
                      <input type="text" name="name1" id="name1" value="<?php echo set_value('name1'); ?>" />
                    *</label></td>
              <td width="53%"><label>
                      <input type="text" name="name2" id="name2" value="<?php echo set_value('name2'); ?>" />
                    </label></td>
                  </tr>
                </table>                  <label></label></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Apellido:</strong></div></td>
                <td><table width="100%" border="0">
                  <tr>
                    <td width="47%"><label>
                      <input type="text" name="lastname1" id="lastname1" value="<?php echo set_value('lastname1'); ?>" />
 *                   </label></td>
                    <td width="53%"><label>
                      <input type="text" name="lastname2" id="lastname2" value="<?php echo set_value('lastname2'); ?>" />
                    </label></td>
                  </tr>
                </table>                  <label></label></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Direccion Personal:</strong></div></td>
                <td><label>
                  <textarea name="address" cols="35" rows="5" id="address"><?php echo set_value('address'); ?></textarea>
                </label></td>
              </tr>
              <tr>
                <td rowspan="3"><div align="right"><strong>Teléfono(s):</strong></div></td>
                <td height="24"><label> </label>
                    <label></label>
                    <label>
                    <input type="text" name="celU" id="celU" value="<?php echo set_value('celU'); ?>"/>
                      MOVIL*</label></td>
              </tr>
              <tr>
                <td><input type="text" name="locU" id="locU" value="<?php echo set_value('locU'); ?>" />
                  LOCAL</td>
              </tr>
              <tr>
                <td><input type="text" name="opcU" id="opcU" value="<?php echo set_value('opcU'); ?>"  />
                  OPTIONAL</td>
              </tr>
              <tr>
                <td><div align="right"><strong>Email:</strong></div></td>
                <td><label>
                  <input name="email" type="text" id="email" size="50" value="<?php echo set_value('email'); ?>"/>
                *</label></td>
              </tr>
              <tr>
                <td colspan="2">&nbsp;</td>
              </tr>
              <tr>
                <td colspan="2" bgcolor="#FFFFFF"><div align="center"><span class="Estilo3"><strong> Datos de Apertura de Cuenta - </strong>Inicio de Sesión</span></div></td>
              </tr>
              <tr>
                <td colspan="2">&nbsp;</td>
              </tr>
              <tr>
                <td><div align="right"><strong>Nombre de Usuario:</strong></div></td>
                <td><label>
                  <input type="text" name="user" id="user" value="<?php echo set_value('user'); ?>" />
                </label></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Password:</strong></div></td>
                <td><label>
                  <input type="password" name="password" id="password"/>
                </label></td>
              </tr>
              <tr>
                <td><div align="right"><strong>Confirme Password:</strong></div></td>
                <td><label>
                  <input type="password" name="passwordC" id="passwordC"/>
                </label></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td><div align="right"><strong>Role que desempeñara:</strong></div></td>
                <td><label>
                  <select name="rol" id="rol">
                   <option value=" " <?php echo set_select('rol','-1',TRUE); ?> >Seleccione algun ROL</option>
			       <option value="MASTER" <?php echo set_select('rol','MASTER'); ?> >MASTER</option>
        			<option value="VENDEDOR" <?php echo set_select('rol','VENDEDOR'); ?> >VENDEDOR</option>
                 </select>
                </label></td>
              </tr>
              <tr>
                <td colspan="2"><div align="center"><?php echo validation_errors(); ?></div></td>
              </tr>
              <tr>
                <td colspan="2">
                  <div align="right">
                    <input type="submit" name="button" id="button" value="Confirme Registro" />
                    </div></td>
              </tr>
          </table>
                    </form>
          </td>
  </tr>
      </table>
</body>
</html>
